home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
hours15.zip
/
DOWN_NOR.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-10-01
|
801b
|
43 lines
@echo off
c:
\norton\be down.be
if errorlevel=2 goto cancel
if not errorlevel=1 goto cancel
cd \norton
cls
echo
\tools\HOURS OFF c:\tools\
echo
echo
if errorlevel = 4 goto error4
if errorlevel = 3 goto error3
if errorlevel = 2 goto error2
if errorlevel = 1 goto error1
be ask " Park your harddisk(s) ? (y/n) ",yn,default=y,timeout=5
echo
if errorlevel = 2 goto down
park.com
:down
echo
echo Please turn the computer off.
:End
goto End
:error1
echo Wrong date in the 'hours.dat' file.
goto cancel2
:error2
echo Invalid parameter for HOURS.EXE.
goto cancel2
:error3
echo Status 'a' instead of 'l' in the 'hours.dat' file.
goto cancel2
:error4
echo Status is neither 'a' nor 'l' in the 'BtrStd.dat' file.
goto cancel2
:cancel
cls
:cancel2